I strongly advise that you follow the Django polling app tutorial on Django's website.
But if you don't have time for that yet, maybe you just want to complete this course with the code used for the project.
At the resources area of this lecture, there is a polling.zip file. Click the zip file to download.
A zip file will be downloaded to your computer.
Extract the file and copy the code folder which is "polling" and replace the Django project code folder you created in the last episode with it.
Activate the virtual environment created for the project,.
Run database migrations with;
py manage.py migrate if you are a windows user.
python manage.py migrate if you are a Mac or Linux user.
Then create a superuser that will be used to log into the admin area of your website with;
py manage.py createsuperuser - windows
python manage.py createsuperuser - Mac/Linux
Fill in the details for your superuser.
py manage.py runserver - windows
py manage.py runserver - Mac/Linux.
Type 127.0.0.1:8000 in your browser and you should see your new beautiful website.
127.0.0.1:8000/admin will take you to the admin area where you can log in with your superuser credentials.
You should add some questions and choices so you can something to display at the front page.
If you have any issue with this, feel free to drop it at the Questions and answers section of the course.
Happy Learning!